package com.geek.bean.vo;

import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class LoginInfoVo {

    @Size(min = 6, max = 10,message = "用户名长度必须在6到10之间")
    String username;
    @Size(min = 6, max = 12,message = "密码长度必须在6到12之间")
    String password;
}
